<%# helper/header.html %>

<div class="main-container" id="main-container">

	<!--<div id="header" class="header-menu-container">
		<div class="swiper-wrapper">
			<div class="swiper-slide active-nav">
				最新
			</div>
			<div class="swiper-slide">
				型百科
			</div>
			<div class="swiper-slide">
				热点
			</div>
		</div>
	</div>-->
	<div class="content-item">
		<div class="lists" id="new-list" temId="j-tmpl-newlist">

		</div>
	</div>

	<!--<div class="tabs-list-wrapper" id="new">
		<div class="swiper-wrapper">
			<div class="swiper-slide">
			</div>
		</div>
		<div class="swiper-scrollbar"></div>
	</div>-->
	<div class="drop-down-wrapper">
		<div class="msg drop-down-msg active">上滑加载更多</div>
		<div class="msg data-loading">
			<div></div>
			加载中
		</div>
		<div class="msg no-data">已经没有了</div>
	</div>
</div>

<script id="j-tmpl-newlist" type="text/template">
	{{ for(var i = 0; i < it.list.length; i++){ }}
	<a class="item" data-time="{{=it.list[i].time}}" data-type="{{=it.list[i].type}}" data-id="{{=it.list[i].id}}" href="veryside://link?type={{=it.list[i].type}}&id={{=it.list[i].id}}">
		<div class="index-img {{= it.list[i].type != 10 ? 'other-img' : 'acticle-img'}} lazy" data-original="{{=it.list[i].thumb}}"></div>
		<div class="img-des-block">
			<p>{{= it.list[i].type == 10 ? (it.list[i].tag || '' ) : (it.list[i].title || '') }}</p>
			<p>{{= it.list[i].type == 10 ? (it.list[i].title || '') : (it.list[i].summary || '' ) }}</p>

		</div>
		<div class="heart-num">
			<span></span>
			<em>{{=it.list[i].loves}}</em>
		</div>
	</a>
	{{ } }}
</script>


<script id="j-tmpl-newlist-refresh" type="text/template">
	{{ for(var i = 0; i < it.list.length; i++){ }}
	<a class="item" data-time="{{=it.list[i].time}}" data-type="{{=it.list[i].type}}" data-id="{{=it.list[i].id}}" href="veryside://link?type={{=it.list[i].type}}&id={{=it.list[i].id}}">
		<div class="index-img {{= it.list[i].type != 10 ? 'other-img' : 'acticle-img'}} lazy" data-original="{{=it.list[i].thumb}}"></div>
		<div class="img-des-block">
			<p>{{= it.list[i].type == 10 ? (it.list[i].tag || '' ) : (it.list[i].title || '') }}</p>
			<p>{{= it.list[i].type == 10 ? (it.list[i].title || '') : (it.list[i].summary || '' ) }}</p>
		</div>
		<div class="heart-num">
			<span></span>
			<em>{{=it.list[i].loves}}</em>
		</div>
	</a>
	{{ } }}
</script>


<%# helper/footer.html %>
